package com.pmpd.activity.po;

import java.io.Serializable;

public class HotActivity implements Serializable {
    /**
     * 主键id
     * 表字段 : hot_activity.id
     */
    private Long id;

    /**
     * 标题
     * 表字段 : hot_activity.title
     */
    private String title;

    /**
     * 描述
     * 表字段 : hot_activity.description
     */
    private String description;

    /**
     * appId
     * 表字段 : hot_activity.app_id
     */
    private Long appId;

    /**
     * app编号
     * 表字段 : hot_activity.project_id
     */
    private String projectId;

    /**
     * 热门活动链接
     * 表字段 : hot_activity.url
     */
    private String url;

    /**
     * 开始时间
     * 表字段 : hot_activity.begin_time
     */
    private Long beginTime;

    /**
     * 结束时间
     * 表字段 : hot_activity.end_time
     */
    private Long endTime;

    /**
     * 0默认, 1长期有效
     * 表字段 : hot_activity.validity
     */
    private Integer validity;

    /**
     * Banner封面url
     * 表字段 : hot_activity.banner_url
     */
    private String bannerUrl;

    /**
     * 1上架（默认），2下架
     * 表字段 : hot_activity.usable
     */
    private Integer usable;

    /**
     * 阅读次数
     * 表字段 : hot_activity.read_number
     */
    private Integer readNumber;

    /**
     * 优先级，用于排序，1级最高，数字越大优先级越低
     * 表字段 : hot_activity.priority
     */
    private Integer priority;

    /**
     * 热门活动类型：1内部活动，2外部活动
     * 表字段 : hot_activity.hot_activity_type
     */
    private Integer hotActivityType;

    /**
     * 1app内跳转，2app内部浏览器跳转，3手机浏览器跳转，4其它app跳转
     * 表字段 : hot_activity.jump_type
     */
    private Integer jumpType;

    /**
     * 热门活动版本，用于app长期存储
     * 表字段 : hot_activity.version
     */
    private String version;

    /**
     * app内部跳转到那个页面，用1，2，3，4，5，...表示
     * 表字段 : hot_activity.inner_jump_page
     */
    private Integer innerJumpPage;

    /**
     * app内部跳转对应的参数，如： 欲跳转到的对应人的userId
     * 表字段 : hot_activity.inner_jump_param
     */
    private String innerJumpParam;

    /**
     * 所要跳转到的其它app的包名，如： 淘宝的包名
     * 表字段 : hot_activity.app_jump_name
     */
    private String appJumpName;

    /**
     * 跳转到其它app所需要的参数，如： 跳入淘宝找到D1众筹活动页面
     * 表字段 : hot_activity.app_jump_param
     */
    private String appJumpParam;

    /**
     * 语言编号：eg: zh_CN
     * 表字段 : hot_activity.lang
     */
    private String lang;

    /**
     * 活动所属公司id
     * 表字段 : hot_activity.company_id
     */
    private Long companyId;

    /**
     * 创建者id
     * 表字段 : hot_activity.creator_id
     */
    private Long creatorId;

    /**
     * 最后编辑者id
     * 表字段 : hot_activity.editor_id
     */
    private Long editorId;

    /**
     * 
     * 表字段 : hot_activity.create_time
     */
    private Long createTime;

    /**
     * 
     * 表字段 : hot_activity.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table hot_activity
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table hot_activity
     *
     * @mbggenerated
     */
    public HotActivity(Long id, String title, String description, Long appId, String projectId, String url, Long beginTime, Long endTime, Integer validity, String bannerUrl, Integer usable, Integer readNumber, Integer priority, Integer hotActivityType, Integer jumpType, String version, Integer innerJumpPage, String innerJumpParam, String appJumpName, String appJumpParam, String lang, Long companyId, Long creatorId, Long editorId, Long createTime, Long updateTime) {
        this.id = id;
        this.title = title;
        this.description = description;
        this.appId = appId;
        this.projectId = projectId;
        this.url = url;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.validity = validity;
        this.bannerUrl = bannerUrl;
        this.usable = usable;
        this.readNumber = readNumber;
        this.priority = priority;
        this.hotActivityType = hotActivityType;
        this.jumpType = jumpType;
        this.version = version;
        this.innerJumpPage = innerJumpPage;
        this.innerJumpParam = innerJumpParam;
        this.appJumpName = appJumpName;
        this.appJumpParam = appJumpParam;
        this.lang = lang;
        this.companyId = companyId;
        this.creatorId = creatorId;
        this.editorId = editorId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table hot_activity
     *
     * @mbggenerated
     */
    public HotActivity() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.id
     *
     * @return the value of hot_activity.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.id
     *
     * @param id the value for hot_activity.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.title
     *
     * @return the value of hot_activity.title
     *
     * @mbggenerated
     */
    public String getTitle() {
        return title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.title
     *
     * @param title the value for hot_activity.title
     *
     * @mbggenerated
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.description
     *
     * @return the value of hot_activity.description
     *
     * @mbggenerated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.description
     *
     * @param description the value for hot_activity.description
     *
     * @mbggenerated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.app_id
     *
     * @return the value of hot_activity.app_id
     *
     * @mbggenerated
     */
    public Long getAppId() {
        return appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.app_id
     *
     * @param appId the value for hot_activity.app_id
     *
     * @mbggenerated
     */
    public void setAppId(Long appId) {
        this.appId = appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.project_id
     *
     * @return the value of hot_activity.project_id
     *
     * @mbggenerated
     */
    public String getProjectId() {
        return projectId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.project_id
     *
     * @param projectId the value for hot_activity.project_id
     *
     * @mbggenerated
     */
    public void setProjectId(String projectId) {
        this.projectId = projectId == null ? null : projectId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.url
     *
     * @return the value of hot_activity.url
     *
     * @mbggenerated
     */
    public String getUrl() {
        return url;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.url
     *
     * @param url the value for hot_activity.url
     *
     * @mbggenerated
     */
    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.begin_time
     *
     * @return the value of hot_activity.begin_time
     *
     * @mbggenerated
     */
    public Long getBeginTime() {
        return beginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.begin_time
     *
     * @param beginTime the value for hot_activity.begin_time
     *
     * @mbggenerated
     */
    public void setBeginTime(Long beginTime) {
        this.beginTime = beginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.end_time
     *
     * @return the value of hot_activity.end_time
     *
     * @mbggenerated
     */
    public Long getEndTime() {
        return endTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.end_time
     *
     * @param endTime the value for hot_activity.end_time
     *
     * @mbggenerated
     */
    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.validity
     *
     * @return the value of hot_activity.validity
     *
     * @mbggenerated
     */
    public Integer getValidity() {
        return validity;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.validity
     *
     * @param validity the value for hot_activity.validity
     *
     * @mbggenerated
     */
    public void setValidity(Integer validity) {
        this.validity = validity;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.banner_url
     *
     * @return the value of hot_activity.banner_url
     *
     * @mbggenerated
     */
    public String getBannerUrl() {
        return bannerUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.banner_url
     *
     * @param bannerUrl the value for hot_activity.banner_url
     *
     * @mbggenerated
     */
    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl == null ? null : bannerUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.usable
     *
     * @return the value of hot_activity.usable
     *
     * @mbggenerated
     */
    public Integer getUsable() {
        return usable;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.usable
     *
     * @param usable the value for hot_activity.usable
     *
     * @mbggenerated
     */
    public void setUsable(Integer usable) {
        this.usable = usable;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.read_number
     *
     * @return the value of hot_activity.read_number
     *
     * @mbggenerated
     */
    public Integer getReadNumber() {
        return readNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.read_number
     *
     * @param readNumber the value for hot_activity.read_number
     *
     * @mbggenerated
     */
    public void setReadNumber(Integer readNumber) {
        this.readNumber = readNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.priority
     *
     * @return the value of hot_activity.priority
     *
     * @mbggenerated
     */
    public Integer getPriority() {
        return priority;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.priority
     *
     * @param priority the value for hot_activity.priority
     *
     * @mbggenerated
     */
    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.hot_activity_type
     *
     * @return the value of hot_activity.hot_activity_type
     *
     * @mbggenerated
     */
    public Integer getHotActivityType() {
        return hotActivityType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.hot_activity_type
     *
     * @param hotActivityType the value for hot_activity.hot_activity_type
     *
     * @mbggenerated
     */
    public void setHotActivityType(Integer hotActivityType) {
        this.hotActivityType = hotActivityType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.jump_type
     *
     * @return the value of hot_activity.jump_type
     *
     * @mbggenerated
     */
    public Integer getJumpType() {
        return jumpType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.jump_type
     *
     * @param jumpType the value for hot_activity.jump_type
     *
     * @mbggenerated
     */
    public void setJumpType(Integer jumpType) {
        this.jumpType = jumpType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.version
     *
     * @return the value of hot_activity.version
     *
     * @mbggenerated
     */
    public String getVersion() {
        return version;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.version
     *
     * @param version the value for hot_activity.version
     *
     * @mbggenerated
     */
    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.inner_jump_page
     *
     * @return the value of hot_activity.inner_jump_page
     *
     * @mbggenerated
     */
    public Integer getInnerJumpPage() {
        return innerJumpPage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.inner_jump_page
     *
     * @param innerJumpPage the value for hot_activity.inner_jump_page
     *
     * @mbggenerated
     */
    public void setInnerJumpPage(Integer innerJumpPage) {
        this.innerJumpPage = innerJumpPage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.inner_jump_param
     *
     * @return the value of hot_activity.inner_jump_param
     *
     * @mbggenerated
     */
    public String getInnerJumpParam() {
        return innerJumpParam;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.inner_jump_param
     *
     * @param innerJumpParam the value for hot_activity.inner_jump_param
     *
     * @mbggenerated
     */
    public void setInnerJumpParam(String innerJumpParam) {
        this.innerJumpParam = innerJumpParam == null ? null : innerJumpParam.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.app_jump_name
     *
     * @return the value of hot_activity.app_jump_name
     *
     * @mbggenerated
     */
    public String getAppJumpName() {
        return appJumpName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.app_jump_name
     *
     * @param appJumpName the value for hot_activity.app_jump_name
     *
     * @mbggenerated
     */
    public void setAppJumpName(String appJumpName) {
        this.appJumpName = appJumpName == null ? null : appJumpName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.app_jump_param
     *
     * @return the value of hot_activity.app_jump_param
     *
     * @mbggenerated
     */
    public String getAppJumpParam() {
        return appJumpParam;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.app_jump_param
     *
     * @param appJumpParam the value for hot_activity.app_jump_param
     *
     * @mbggenerated
     */
    public void setAppJumpParam(String appJumpParam) {
        this.appJumpParam = appJumpParam == null ? null : appJumpParam.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.lang
     *
     * @return the value of hot_activity.lang
     *
     * @mbggenerated
     */
    public String getLang() {
        return lang;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.lang
     *
     * @param lang the value for hot_activity.lang
     *
     * @mbggenerated
     */
    public void setLang(String lang) {
        this.lang = lang == null ? null : lang.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.company_id
     *
     * @return the value of hot_activity.company_id
     *
     * @mbggenerated
     */
    public Long getCompanyId() {
        return companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.company_id
     *
     * @param companyId the value for hot_activity.company_id
     *
     * @mbggenerated
     */
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.creator_id
     *
     * @return the value of hot_activity.creator_id
     *
     * @mbggenerated
     */
    public Long getCreatorId() {
        return creatorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.creator_id
     *
     * @param creatorId the value for hot_activity.creator_id
     *
     * @mbggenerated
     */
    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.editor_id
     *
     * @return the value of hot_activity.editor_id
     *
     * @mbggenerated
     */
    public Long getEditorId() {
        return editorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.editor_id
     *
     * @param editorId the value for hot_activity.editor_id
     *
     * @mbggenerated
     */
    public void setEditorId(Long editorId) {
        this.editorId = editorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.create_time
     *
     * @return the value of hot_activity.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.create_time
     *
     * @param createTime the value for hot_activity.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hot_activity.update_time
     *
     * @return the value of hot_activity.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hot_activity.update_time
     *
     * @param updateTime the value for hot_activity.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table hot_activity
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", title=").append(title);
        sb.append(", description=").append(description);
        sb.append(", appId=").append(appId);
        sb.append(", projectId=").append(projectId);
        sb.append(", url=").append(url);
        sb.append(", beginTime=").append(beginTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", validity=").append(validity);
        sb.append(", bannerUrl=").append(bannerUrl);
        sb.append(", usable=").append(usable);
        sb.append(", readNumber=").append(readNumber);
        sb.append(", priority=").append(priority);
        sb.append(", hotActivityType=").append(hotActivityType);
        sb.append(", jumpType=").append(jumpType);
        sb.append(", version=").append(version);
        sb.append(", innerJumpPage=").append(innerJumpPage);
        sb.append(", innerJumpParam=").append(innerJumpParam);
        sb.append(", appJumpName=").append(appJumpName);
        sb.append(", appJumpParam=").append(appJumpParam);
        sb.append(", lang=").append(lang);
        sb.append(", companyId=").append(companyId);
        sb.append(", creatorId=").append(creatorId);
        sb.append(", editorId=").append(editorId);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}